package cn.house.houseai.entify;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.math.BigDecimal;
import java.security.Timestamp;
import java.util.Date;

/**
 * @author 羡y
 * @date 2024/9/30
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Slf4j
public class Sensors {
    private Integer device_id;          // 设备ID
    private Integer sensor_id;          // 传感器ID
    private String sensor_type;          // 传感器类型
    private Date data_collection_time ; // 数据采集时间
    private BigDecimal temperature;     // 温度
    private BigDecimal humidity;        // 湿度
    private String motion_status;        // 运动状态
    private BigDecimal light_intensity;  // 光强
    private Boolean smoke_detected;       // 烟雾检测
    private Date created_at=new Date();;        // 创建时间
}
